package router

import (
	"net/http"
	"test/controllers"
)

func init() {
	//public
	// http.Handle("/public/", http.StripPrefix("/public/", http.FileServer(http.Dir("public"))))
	//controllers
	http.HandleFunc("/users", controllers.IndexController)
	http.HandleFunc("/user", controllers.UserController)
	http.HandleFunc("/data", controllers.DataController)
	http.HandleFunc("/test", controllers.TestController)
	http.HandleFunc("/history", controllers.HistoryController)
	http.HandleFunc("/sequence", controllers.SequenceController)
	// http.HandleFunc("/json", controllers.JsonController)
	// http.HandleFunc("/file/add", controllers.FileAddController)
	// http.HandleFunc("/form", controllers.FormController)
	// http.HandleFunc("/form/multi", controllers.FormMultiController)

}
